<template>
	<view>
		<view class="u-m-t-20">
			<u-cell-group>
				<u-cell-item @click="changePlaySource" icon="setting" title="采集源设置"></u-cell-item>
				<!-- <u-cell-item @click="develop" icon="setting" title="定制开发"></u-cell-item> -->
			</u-cell-group>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {
		  console.log(this.$storage.get('watchHistory'))	
		},
		methods: {
			develop() {
				uni.showModal({
					title: '温馨提示',
					content: '请复制客服微信号',
					success: function(res) {
						if (res.confirm) {
							console.log('用户点击确定');
							uni.setClipboardData({
								data: '18************',
								success: function() {
									uni.showToast({
										title: '复制成功'
									})
								}
							});
						} else if (res.cancel) {
							console.log('用户点击取消');
						}
					}
				});
			},
			changePlaySource() {
				uni.navigateTo({
					url: '/pages/user/liveSource'
				})
			},
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #ededed;
	}

	button::after {
		border: none;
	}

	.btn {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		background-color: #FFFFFF;
		font-size: 32rpx;
		color: #606266;
	}

	.camera {
		width: 54px;
		height: 44px;

		&:active {
			background-color: #ededed;
		}
	}

	.user-box {
		background-color: #fff;
	}
</style>